\hypertarget{classlayout_1_1_table_layout}{\section{layout.\-Table\-Layout Klassenreferenz}
\label{classlayout_1_1_table_layout}\index{layout.\-Table\-Layout@{layout.\-Table\-Layout}}
}
Klassendiagramm für layout.\-Table\-Layout\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classlayout_1_1_table_layout}
\end{center}
\end{figure}
\subsection*{Klassen}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classlayout_1_1_table_layout_1_1_entry}{Entry}
\end{DoxyCompactItemize}
\subsection*{Öffentliche Methoden}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classlayout_1_1_table_layout_a89f47f71b8658ed6a8dc693608791295}{Table\-Layout} ()
\item 
\hyperlink{classlayout_1_1_table_layout_a62a5d24b0cc82541be5b363a28d9ade1}{Table\-Layout} (double size\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]})
\item 
\hyperlink{classlayout_1_1_table_layout_constraints}{Table\-Layout\-Constraints} \hyperlink{classlayout_1_1_table_layout_aef4eb55ab150db224f5e48cec9040973}{get\-Constraints} (Component component)
\item 
void \hyperlink{classlayout_1_1_table_layout_a12a0a6974d8de6331b601639fa0da16f}{set\-Constraints} (Component component, \hyperlink{classlayout_1_1_table_layout_constraints}{Table\-Layout\-Constraints} constraint)
\item 
void \hyperlink{classlayout_1_1_table_layout_abc3535b573a52013fde7aad67d2fbc8a}{set\-Column} (double column\mbox{[}$\,$\mbox{]})
\item 
void \hyperlink{classlayout_1_1_table_layout_afdc5900b62836532ec0aee52acceaf51}{set\-Row} (double row\mbox{[}$\,$\mbox{]})
\item 
void \hyperlink{classlayout_1_1_table_layout_a2a6ac4e9cc3515b4bc0b50fa1733522e}{set\-Column} (int i, double size)
\item 
void \hyperlink{classlayout_1_1_table_layout_a4a1855f40ab2e2655558b9f0c2bf9ffd}{set\-Row} (int i, double size)
\item 
double\mbox{[}$\,$\mbox{]} \hyperlink{classlayout_1_1_table_layout_a4b2ba2a2e7964b0f354cfca1d5dc1284}{get\-Column} ()
\item 
double\mbox{[}$\,$\mbox{]} \hyperlink{classlayout_1_1_table_layout_a4666813ae4bfef98baed7f0737bcac20}{get\-Row} ()
\item 
double \hyperlink{classlayout_1_1_table_layout_acb68b37b1af2f006b62e3f0710f69fc9}{get\-Column} (int i)
\item 
double \hyperlink{classlayout_1_1_table_layout_a0d97c4d505e305eea2b524946e824d8e}{get\-Row} (int i)
\item 
int \hyperlink{classlayout_1_1_table_layout_ae83c49653884e6aa63511eaaa4be1bbb}{get\-Num\-Column} ()
\item 
int \hyperlink{classlayout_1_1_table_layout_a67c64620fead4ac01e35f7a6df851c15}{get\-Num\-Row} ()
\item 
void \hyperlink{classlayout_1_1_table_layout_a4e476e6a6b33aeb1a773d8176895503c}{insert\-Column} (int i, double size)
\item 
void \hyperlink{classlayout_1_1_table_layout_aee45bd4f814d3ec97a94e07ba0acfe1b}{insert\-Row} (int i, double size)
\item 
void \hyperlink{classlayout_1_1_table_layout_a696d740030cbbe49f5587d77604eca9b}{delete\-Column} (int i)
\item 
void \hyperlink{classlayout_1_1_table_layout_ac241a2d052c87c56f2295bad75300961}{delete\-Row} (int i)
\item 
String \hyperlink{classlayout_1_1_table_layout_a0014e9b6afe8b9a04919776f8672faf7}{to\-String} ()
\item 
void \hyperlink{classlayout_1_1_table_layout_ab856a82ef566039501cd2e5e31c54d05}{draw\-Grid} (Container container, Graphics g)
\item 
boolean \hyperlink{classlayout_1_1_table_layout_aca7ef33fc5f9dc26bbc62dd977fd77d8}{hidden} ()
\item 
boolean \hyperlink{classlayout_1_1_table_layout_a7842eda56d7ed6f42bc99bc0663a26ff}{overlapping} ()
\item 
void \hyperlink{classlayout_1_1_table_layout_a6af49407074daa12df34af0cbc4dad20}{layout\-Container} (Container container)
\item 
Dimension \hyperlink{classlayout_1_1_table_layout_a204452fd59d6872f54389f09c41845d6}{preferred\-Layout\-Size} (Container container)
\item 
Dimension \hyperlink{classlayout_1_1_table_layout_ab47e9c472e68f47282f46087a3a5ee98}{minimum\-Layout\-Size} (Container container)
\item 
void \hyperlink{classlayout_1_1_table_layout_a6b8f1d300554116172764542b7e70279}{add\-Layout\-Component} (String name, Component component)
\item 
void \hyperlink{classlayout_1_1_table_layout_a1239d62f7d9d29d1793a3de2005beef5}{add\-Layout\-Component} (Component component, Object constraint)
\item 
void \hyperlink{classlayout_1_1_table_layout_ad871c153f11cc4934bf7d2a590ab8384}{remove\-Layout\-Component} (Component component)
\item 
Dimension \hyperlink{classlayout_1_1_table_layout_a6a61c44131a912eb4c2d5318de96c7d8}{maximum\-Layout\-Size} (Container target)
\item 
float \hyperlink{classlayout_1_1_table_layout_a9ae462e93b779a466906953f14f9c253}{get\-Layout\-Alignment\-X} (Container parent)
\item 
float \hyperlink{classlayout_1_1_table_layout_a425cc239e0560cf5026d5d5b6cf4ae82}{get\-Layout\-Alignment\-Y} (Container parent)
\item 
void \hyperlink{classlayout_1_1_table_layout_ad94f19092a4665411668c7dd9034d74e}{invalidate\-Layout} (Container target)
\end{DoxyCompactItemize}
\subsection*{Geschützte Methoden}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classlayout_1_1_table_layout_af75bdb0928fcad674dbe90e7f435e02c}{calculate\-Size} (Container container)
\end{DoxyCompactItemize}
\subsection*{Geschützte Attribute}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{classlayout_1_1_table_layout_af400ca6da4c4f6bf9be482ea1bac076e}{column\-Spec} \mbox{[}$\,$\mbox{]}
\item 
double \hyperlink{classlayout_1_1_table_layout_a8f51d5418fc72241dac1606703daf8e6}{row\-Spec} \mbox{[}$\,$\mbox{]}
\item 
int \hyperlink{classlayout_1_1_table_layout_ab246f0f73cd8fd53ae38f5a6f3e5f81a}{column\-Size} \mbox{[}$\,$\mbox{]}
\item 
int \hyperlink{classlayout_1_1_table_layout_a8199e89a6a366ad5e5bdb2471da6dfc7}{row\-Size} \mbox{[}$\,$\mbox{]}
\item 
int \hyperlink{classlayout_1_1_table_layout_a717b339b6682c45f95a166f359c6a81d}{column\-Offset} \mbox{[}$\,$\mbox{]}
\item 
int \hyperlink{classlayout_1_1_table_layout_acba51b491e42b798faa477d65334ccd9}{row\-Offset} \mbox{[}$\,$\mbox{]}
\item 
Linked\-List \hyperlink{classlayout_1_1_table_layout_ad287e19733ad42d0e1efa7d819afc76e}{list}
\item 
boolean \hyperlink{classlayout_1_1_table_layout_af3eb53542c25da1da8301097562b388f}{dirty}
\item 
int \hyperlink{classlayout_1_1_table_layout_a0592f89eeb46317a78b3624bcf37b668}{old\-Width}
\item 
int \hyperlink{classlayout_1_1_table_layout_a5817f9c642e260497a16fc8b2a58f2e6}{old\-Height}
\end{DoxyCompactItemize}
\subsection*{Statische geschützte Attribute}
\begin{DoxyCompactItemize}
\item 
static final double \hyperlink{classlayout_1_1_table_layout_a3cad1c9c046e3940431bee5dd1db5924}{default\-Size} \mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]} = \{\{\}, \{\}\}
\end{DoxyCompactItemize}


\subsection{Ausführliche Beschreibung}
\hyperlink{classlayout_1_1_table_layout}{Table\-Layout} is a layout manager that arranges components in rows and columns like a spreadsheet. \hyperlink{classlayout_1_1_table_layout}{Table\-Layout} allows each row or column to be a different size. A row or column can be given an absolute size in pixels, a percentage of the available space, or it can grow and shrink to fill the remaining space after other rows and columns have been resized.

Using spreadsheet terminology, a cell is the intersection of a row and column. Cells have finite, non-\/negative sizes measured in pixels. The dimensions of a cell depend solely upon the dimensions of its row and column. 

A component occupies a rectangular group of one or more cells. If the component occupies more than one cell, the component is resized to fit perfectly in the rectangular region of cells. If the component occupies a single cell, it can be aligned in four ways within that cell.

A single cell component can be stretched horizontally to fit the cell (full justification), or it can be placed in the center of the cell. The component could also be left justified or right justified. Similarly, the component can be full, center, top, or bottom justified in the vertical.


\begin{DoxyPre}
 public static void main (String args[])
 \{
     // Create a frame
     Frame frame = new Frame("Example of TableLayout");
     frame.setBounds (100, 100, 300, 300);
 <spc>
     // Create a \hyperlink{classlayout_1_1_table_layout}{TableLayout} for the frame
     double border = 10;
     double size[][] =
         \{\{border, 0.10, 20, \hyperlink{interfacelayout_1_1_table_layout_constants_aa309b10b12ecc0b9ff53224b834fbd2f}{TableLayout.FILL}, 20, 0.20, border\},  // Columns
          \{border, 0.20, 20, \hyperlink{interfacelayout_1_1_table_layout_constants_aa309b10b12ecc0b9ff53224b834fbd2f}{TableLayout.FILL}, 20, 0.20, border\}\}; // Rows
 <spc>
     frame.setLayout (new TableLayout(size));
 <spc>
     // Create some buttons
     String label[] = \{"Top", "Bottom", "Left", "Right", "Center", "Overlap"\};
     Button button[] = new Button[label.length];
 <spc>
     for (int i = 0; i < label.length; i++)
         button[i] = new Button(label[i]);
 <spc>
     // Add buttons
     frame.add (button[0], "1, 1, 5, 1"); // Top
     frame.add (button[1], "1, 5, 5, 5"); // Bottom
     frame.add (button[2], "1, 3      "); // Left
     frame.add (button[3], "5, 3      "); // Right
     frame.add (button[4], "3, 3, c, c"); // Center
     frame.add (button[5], "3, 3, 3, 5"); // Overlap
 <spc>
     // Allow user to close the window to terminate the program
     frame.addWindowListener
         (new WindowListener()
             \{
                 public void windowClosing (WindowEvent e)
                 \{
                     System.exit (0);
                 \}
 <spc>
                 public void windowOpened (WindowEvent e) \{\}
                 public void windowClosed (WindowEvent e) \{\}
                 public void windowIconified (WindowEvent e) \{\}
                 public void windowDeiconified (WindowEvent e) \{\}
                 public void windowActivated (WindowEvent e) \{\}
                 public void windowDeactivated (WindowEvent e) \{\}
             \}
         );
 <spc>
     // Show frame
     frame.show();
 \}
 \end{DoxyPre}


\begin{DoxyAuthor}{Autor}
Daniel E. Barbalace 
\end{DoxyAuthor}


Definiert in Zeile 88 der Datei Table\-Layout.\-java.



\subsection{Beschreibung der Konstruktoren und Destruktoren}
\hypertarget{classlayout_1_1_table_layout_a89f47f71b8658ed6a8dc693608791295}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!Table\-Layout@{Table\-Layout}}
\index{Table\-Layout@{Table\-Layout}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{Table\-Layout}]{\setlength{\rightskip}{0pt plus 5cm}{\bf layout.\-Table\-Layout.\-Table\-Layout} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a89f47f71b8658ed6a8dc693608791295}
Constructs an instance of \hyperlink{classlayout_1_1_table_layout}{Table\-Layout}. This \hyperlink{classlayout_1_1_table_layout}{Table\-Layout} will have one row and one column. 

Definiert in Zeile 150 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a62a5d24b0cc82541be5b363a28d9ade1}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!Table\-Layout@{Table\-Layout}}
\index{Table\-Layout@{Table\-Layout}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{Table\-Layout}]{\setlength{\rightskip}{0pt plus 5cm}{\bf layout.\-Table\-Layout.\-Table\-Layout} (
\begin{DoxyParamCaption}
\item[{double}]{size\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a62a5d24b0cc82541be5b363a28d9ade1}
Constructs an instance of \hyperlink{classlayout_1_1_table_layout}{Table\-Layout}.


\begin{DoxyParams}{Parameter}
{\em size} & widths of columns and heights of rows in the format, \{\{col0, col1, col2, ..., col\-N\}, \{row0, row1, row2, ..., row\-M\}\} If this parameter is invalid, the \hyperlink{classlayout_1_1_table_layout}{Table\-Layout} will have exactly one row and one column. \\
\hline
\end{DoxyParams}


Definiert in Zeile 166 der Datei Table\-Layout.\-java.



\subsection{Dokumentation der Elementfunktionen}
\hypertarget{classlayout_1_1_table_layout_a6b8f1d300554116172764542b7e70279}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!add\-Layout\-Component@{add\-Layout\-Component}}
\index{add\-Layout\-Component@{add\-Layout\-Component}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{add\-Layout\-Component}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-add\-Layout\-Component} (
\begin{DoxyParamCaption}
\item[{String}]{name, }
\item[{Component}]{component}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a6b8f1d300554116172764542b7e70279}
Adds the specified component with the specified name to the layout.


\begin{DoxyParams}{Parameter}
{\em name} & indicates entry's position and anchor \\
\hline
{\em component} & component to add \\
\hline
\end{DoxyParams}


Definiert in Zeile 1958 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a1239d62f7d9d29d1793a3de2005beef5}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!add\-Layout\-Component@{add\-Layout\-Component}}
\index{add\-Layout\-Component@{add\-Layout\-Component}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{add\-Layout\-Component}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-add\-Layout\-Component} (
\begin{DoxyParamCaption}
\item[{Component}]{component, }
\item[{Object}]{constraint}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a1239d62f7d9d29d1793a3de2005beef5}
Adds the specified component with the specified name to the layout.


\begin{DoxyParams}{Parameter}
{\em component} & component to add \\
\hline
{\em constraint} & indicates entry's position and alignment \\
\hline
\end{DoxyParams}


Definiert in Zeile 1978 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_af75bdb0928fcad674dbe90e7f435e02c}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!calculate\-Size@{calculate\-Size}}
\index{calculate\-Size@{calculate\-Size}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{calculate\-Size}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-calculate\-Size} (
\begin{DoxyParamCaption}
\item[{Container}]{container}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_af75bdb0928fcad674dbe90e7f435e02c}
Calculates the sizes of the rows and columns based on the absolute and relative sizes specified in {\ttfamily row\-Spec} and {\ttfamily column\-Spec} and the size of the container. The result is stored in {\ttfamily row\-Size} and {\ttfamily column\-Size}.


\begin{DoxyParams}{Parameter}
{\em container} & container using this \hyperlink{classlayout_1_1_table_layout}{Table\-Layout} \\
\hline
\end{DoxyParams}


Definiert in Zeile 1004 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a696d740030cbbe49f5587d77604eca9b}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!delete\-Column@{delete\-Column}}
\index{delete\-Column@{delete\-Column}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{delete\-Column}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-delete\-Column} (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a696d740030cbbe49f5587d77604eca9b}
Deletes a column in this layout. All components to the right of the deletion point are moved left one column. The container will need to be laid out after this method returns. See {\ttfamily set\-Column}.


\begin{DoxyParams}{Parameter}
{\em i} & zero-\/based index of column to delete\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_abc3535b573a52013fde7aad67d2fbc8a}{set\-Column} 

\hyperlink{classlayout_1_1_table_layout_a696d740030cbbe49f5587d77604eca9b}{delete\-Column} 
\end{DoxySeeAlso}


Definiert in Zeile 718 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_ac241a2d052c87c56f2295bad75300961}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!delete\-Row@{delete\-Row}}
\index{delete\-Row@{delete\-Row}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{delete\-Row}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-delete\-Row} (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_ac241a2d052c87c56f2295bad75300961}
Deletes a row in this layout. All components below the deletion point are moved up one row. The container will need to be laid out after this method returns. See {\ttfamily set\-Row}. There must be at least two rows in order to delete a row.


\begin{DoxyParams}{Parameter}
{\em i} & zero-\/based index of column to delete\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_afdc5900b62836532ec0aee52acceaf51}{set\-Row} 

\hyperlink{classlayout_1_1_table_layout_ac241a2d052c87c56f2295bad75300961}{delete\-Row} 
\end{DoxySeeAlso}


Definiert in Zeile 771 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_ab856a82ef566039501cd2e5e31c54d05}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!draw\-Grid@{draw\-Grid}}
\index{draw\-Grid@{draw\-Grid}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{draw\-Grid}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-draw\-Grid} (
\begin{DoxyParamCaption}
\item[{Container}]{container, }
\item[{Graphics}]{g}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_ab856a82ef566039501cd2e5e31c54d05}
Draws a grid on the given container. This is useful for seeing where the rows and columns go. In the container's paint method, call this method.


\begin{DoxyParams}{Parameter}
{\em container} & container using this \hyperlink{classlayout_1_1_table_layout}{Table\-Layout} \\
\hline
{\em g} & graphics content of container (can be offscreen) \\
\hline
\end{DoxyParams}


Definiert in Zeile 864 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a4b2ba2a2e7964b0f354cfca1d5dc1284}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Column@{get\-Column}}
\index{get\-Column@{get\-Column}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Column}]{\setlength{\rightskip}{0pt plus 5cm}double \mbox{[}$\,$\mbox{]} {\bf layout.\-Table\-Layout.\-get\-Column} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a4b2ba2a2e7964b0f354cfca1d5dc1284}
Gets the sizes of columns in this layout.

\begin{DoxyReturn}{Rückgabe}
widths of each of the columns
\end{DoxyReturn}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_abc3535b573a52013fde7aad67d2fbc8a}{set\-Column} 
\end{DoxySeeAlso}


Definiert in Zeile 483 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_acb68b37b1af2f006b62e3f0710f69fc9}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Column@{get\-Column}}
\index{get\-Column@{get\-Column}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Column}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf layout.\-Table\-Layout.\-get\-Column} (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_acb68b37b1af2f006b62e3f0710f69fc9}
Gets the width of a single column in this layout.


\begin{DoxyParams}{Parameter}
{\em i} & zero-\/based index of row to get. If this parameter is not valid, an Array\-Out\-Of\-Bounds\-Exception will be thrown.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Rückgabe}
width of the requested column
\end{DoxyReturn}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_afdc5900b62836532ec0aee52acceaf51}{set\-Row} 
\end{DoxySeeAlso}


Definiert in Zeile 524 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_aef4eb55ab150db224f5e48cec9040973}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Constraints@{get\-Constraints}}
\index{get\-Constraints@{get\-Constraints}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Constraints}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Table\-Layout\-Constraints} {\bf layout.\-Table\-Layout.\-get\-Constraints} (
\begin{DoxyParamCaption}
\item[{Component}]{component}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_aef4eb55ab150db224f5e48cec9040973}
Gets the constraints of a given component.


\begin{DoxyParams}{Parameter}
{\em component} & desired component\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Rückgabe}
If the given component is found, the constraints associated with that component. If the given component is null or is not found, null is returned. 
\end{DoxyReturn}


Definiert in Zeile 236 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a9ae462e93b779a466906953f14f9c253}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Layout\-Alignment\-X@{get\-Layout\-Alignment\-X}}
\index{get\-Layout\-Alignment\-X@{get\-Layout\-Alignment\-X}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Layout\-Alignment\-X}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf layout.\-Table\-Layout.\-get\-Layout\-Alignment\-X} (
\begin{DoxyParamCaption}
\item[{Container}]{parent}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a9ae462e93b779a466906953f14f9c253}
Returns the alignment along the x axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.\-5 is centered, etc.

\begin{DoxyReturn}{Rückgabe}
unconditionally, 0.\-5 
\end{DoxyReturn}


Definiert in Zeile 2042 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a425cc239e0560cf5026d5d5b6cf4ae82}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Layout\-Alignment\-Y@{get\-Layout\-Alignment\-Y}}
\index{get\-Layout\-Alignment\-Y@{get\-Layout\-Alignment\-Y}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Layout\-Alignment\-Y}]{\setlength{\rightskip}{0pt plus 5cm}float {\bf layout.\-Table\-Layout.\-get\-Layout\-Alignment\-Y} (
\begin{DoxyParamCaption}
\item[{Container}]{parent}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a425cc239e0560cf5026d5d5b6cf4ae82}
Returns the alignment along the y axis. This specifies how the component would like to be aligned relative to other components. The value should be a number between 0 and 1 where 0 represents alignment along the origin, 1 is aligned the furthest away from the origin, 0.\-5 is centered, etc.

\begin{DoxyReturn}{Rückgabe}
unconditionally, 0.\-5 
\end{DoxyReturn}


Definiert in Zeile 2058 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_ae83c49653884e6aa63511eaaa4be1bbb}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Num\-Column@{get\-Num\-Column}}
\index{get\-Num\-Column@{get\-Num\-Column}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Num\-Column}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf layout.\-Table\-Layout.\-get\-Num\-Column} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_ae83c49653884e6aa63511eaaa4be1bbb}
Gets the number of columns in this layout.

\begin{DoxyReturn}{Rückgabe}
the number of columns 
\end{DoxyReturn}


Definiert in Zeile 555 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a67c64620fead4ac01e35f7a6df851c15}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Num\-Row@{get\-Num\-Row}}
\index{get\-Num\-Row@{get\-Num\-Row}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Num\-Row}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf layout.\-Table\-Layout.\-get\-Num\-Row} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a67c64620fead4ac01e35f7a6df851c15}
Gets the number of rows in this layout.

\begin{DoxyReturn}{Rückgabe}
the number of rows 
\end{DoxyReturn}


Definiert in Zeile 568 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a4666813ae4bfef98baed7f0737bcac20}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Row@{get\-Row}}
\index{get\-Row@{get\-Row}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Row}]{\setlength{\rightskip}{0pt plus 5cm}double \mbox{[}$\,$\mbox{]} {\bf layout.\-Table\-Layout.\-get\-Row} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a4666813ae4bfef98baed7f0737bcac20}
Gets the height of a single row in this layout.

\begin{DoxyReturn}{Rückgabe}
height of the requested row
\end{DoxyReturn}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_afdc5900b62836532ec0aee52acceaf51}{set\-Row} 
\end{DoxySeeAlso}


Definiert in Zeile 502 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a0d97c4d505e305eea2b524946e824d8e}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!get\-Row@{get\-Row}}
\index{get\-Row@{get\-Row}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{get\-Row}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf layout.\-Table\-Layout.\-get\-Row} (
\begin{DoxyParamCaption}
\item[{int}]{i}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a0d97c4d505e305eea2b524946e824d8e}
Gets the sizes of a row in this layout.


\begin{DoxyParams}{Parameter}
{\em i} & zero-\/based index of row to get. If this parameter is not valid, an Array\-Out\-Of\-Bounds\-Exception will be thrown.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Rückgabe}
height of each of the requested row
\end{DoxyReturn}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_afdc5900b62836532ec0aee52acceaf51}{set\-Row} 
\end{DoxySeeAlso}


Definiert in Zeile 542 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_aca7ef33fc5f9dc26bbc62dd977fd77d8}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!hidden@{hidden}}
\index{hidden@{hidden}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{hidden}]{\setlength{\rightskip}{0pt plus 5cm}boolean {\bf layout.\-Table\-Layout.\-hidden} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_aca7ef33fc5f9dc26bbc62dd977fd77d8}
Determines whether or not there are any hidden components. A hidden component is one that will not be shown with this layout's current configuration. Such a component is, at least partly, in an invalid row or column. For example, on a table with five rows, row -\/1 and row 5 are both invalid. Valid rows are 0 through 4, inclusively.

\begin{DoxyReturn}{Rückgabe}
True, if there are any hidden components. False, otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_a7842eda56d7ed6f42bc99bc0663a26ff}{overlapping} 
\end{DoxySeeAlso}


Definiert in Zeile 914 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a4e476e6a6b33aeb1a773d8176895503c}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!insert\-Column@{insert\-Column}}
\index{insert\-Column@{insert\-Column}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{insert\-Column}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-insert\-Column} (
\begin{DoxyParamCaption}
\item[{int}]{i, }
\item[{double}]{size}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a4e476e6a6b33aeb1a773d8176895503c}
Inserts a column in this layout. All components to the right of the insertion point are moved right one column. The container will need to be laid out after this method returns. See {\ttfamily set\-Column}.


\begin{DoxyParams}{Parameter}
{\em i} & zero-\/based index at which to insert the column. \\
\hline
{\em size} & size of the column to be inserted\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_abc3535b573a52013fde7aad67d2fbc8a}{set\-Column} 

\hyperlink{classlayout_1_1_table_layout_a696d740030cbbe49f5587d77604eca9b}{delete\-Column} 
\end{DoxySeeAlso}


Definiert in Zeile 593 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_aee45bd4f814d3ec97a94e07ba0acfe1b}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!insert\-Row@{insert\-Row}}
\index{insert\-Row@{insert\-Row}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{insert\-Row}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-insert\-Row} (
\begin{DoxyParamCaption}
\item[{int}]{i, }
\item[{double}]{size}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_aee45bd4f814d3ec97a94e07ba0acfe1b}
Inserts a row in this layout. All components below the insertion point are moved down one row. The container will need to be laid out after this method returns. See {\ttfamily set\-Row}.


\begin{DoxyParams}{Parameter}
{\em i} & zero-\/based index at which to insert the column. \\
\hline
{\em size} & size of the row to be inserted\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_afdc5900b62836532ec0aee52acceaf51}{set\-Row} 

\hyperlink{classlayout_1_1_table_layout_ac241a2d052c87c56f2295bad75300961}{delete\-Row} 
\end{DoxySeeAlso}


Definiert in Zeile 656 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_ad94f19092a4665411668c7dd9034d74e}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!invalidate\-Layout@{invalidate\-Layout}}
\index{invalidate\-Layout@{invalidate\-Layout}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{invalidate\-Layout}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-invalidate\-Layout} (
\begin{DoxyParamCaption}
\item[{Container}]{target}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_ad94f19092a4665411668c7dd9034d74e}
Invalidates the layout, indicating that if the layout manager has cached information it should be discarded. 

Definiert in Zeile 2070 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a6af49407074daa12df34af0cbc4dad20}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!layout\-Container@{layout\-Container}}
\index{layout\-Container@{layout\-Container}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{layout\-Container}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-layout\-Container} (
\begin{DoxyParamCaption}
\item[{Container}]{container}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a6af49407074daa12df34af0cbc4dad20}
To lay out the specified container using this layout. This method reshapes the components in the specified target container in order to satisfy the constraints of all components.

User code should not have to call this method directly.


\begin{DoxyParams}{Parameter}
{\em container} & container being served by this layout manager \\
\hline
\end{DoxyParams}


Definiert in Zeile 1272 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a6a61c44131a912eb4c2d5318de96c7d8}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!maximum\-Layout\-Size@{maximum\-Layout\-Size}}
\index{maximum\-Layout\-Size@{maximum\-Layout\-Size}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{maximum\-Layout\-Size}]{\setlength{\rightskip}{0pt plus 5cm}Dimension {\bf layout.\-Table\-Layout.\-maximum\-Layout\-Size} (
\begin{DoxyParamCaption}
\item[{Container}]{target}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a6a61c44131a912eb4c2d5318de96c7d8}
Returns the maximum dimensions for this layout given the components in the specified target container.


\begin{DoxyParams}{Parameter}
{\em target} & the component which needs to be laid out\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Rückgabe}
unconditionally, a Dimension of Integer.\-M\-A\-X\-\_\-\-V\-A\-L\-U\-E by Integer.\-M\-A\-X\-\_\-\-V\-A\-L\-U\-E since \hyperlink{classlayout_1_1_table_layout}{Table\-Layout} does not limit the maximum size of a container 
\end{DoxyReturn}


Definiert in Zeile 2026 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_ab47e9c472e68f47282f46087a3a5ee98}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!minimum\-Layout\-Size@{minimum\-Layout\-Size}}
\index{minimum\-Layout\-Size@{minimum\-Layout\-Size}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{minimum\-Layout\-Size}]{\setlength{\rightskip}{0pt plus 5cm}Dimension {\bf layout.\-Table\-Layout.\-minimum\-Layout\-Size} (
\begin{DoxyParamCaption}
\item[{Container}]{container}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_ab47e9c472e68f47282f46087a3a5ee98}
Determines the minimum size of the container argument using this layout. The minimum size is the smallest size that, if used for the container's size, will ensure that all components are at least as large as their minimum size. This method cannot guarantee that all components will be their minimum size. For example, if component A and component B are each allocate half of the container's width and component A wants to be 10 pixels wide while component B wants to be 100 pixels wide, they cannot both be accommodated. Since in general components rather be larger than their minimum size instead of smaller, component B's request will be fulfilled. The minimum size of the container would be 200 pixels.


\begin{DoxyParams}{Parameter}
{\em container} & container being served by this layout manager\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Rückgabe}
a dimension indicating the container's minimum size 
\end{DoxyReturn}


Definiert in Zeile 1728 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a7842eda56d7ed6f42bc99bc0663a26ff}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!overlapping@{overlapping}}
\index{overlapping@{overlapping}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{overlapping}]{\setlength{\rightskip}{0pt plus 5cm}boolean {\bf layout.\-Table\-Layout.\-overlapping} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a7842eda56d7ed6f42bc99bc0663a26ff}
Determines whether or not there are any overlapping components. Two components overlap if they cover at least one common cell.

\begin{DoxyReturn}{Rückgabe}
True, if there are any overlapping components. False, otherwise.
\end{DoxyReturn}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_aca7ef33fc5f9dc26bbc62dd977fd77d8}{hidden} 
\end{DoxySeeAlso}


Definiert in Zeile 951 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a204452fd59d6872f54389f09c41845d6}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!preferred\-Layout\-Size@{preferred\-Layout\-Size}}
\index{preferred\-Layout\-Size@{preferred\-Layout\-Size}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{preferred\-Layout\-Size}]{\setlength{\rightskip}{0pt plus 5cm}Dimension {\bf layout.\-Table\-Layout.\-preferred\-Layout\-Size} (
\begin{DoxyParamCaption}
\item[{Container}]{container}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a204452fd59d6872f54389f09c41845d6}
Determines the preferred size of the container argument using this layout. The preferred size is the smallest size that, if used for the container's size, will ensure that all components are at least as large as their preferred size. This method cannot guarantee that all components will be their preferred size. For example, if component A and component B are each allocate half of the container's width and component A wants to be 10 pixels wide while component B wants to be 100 pixels wide, they cannot both be accommodated. Since in general components rather be larger than their preferred size instead of smaller, component B's request will be fulfilled. The preferred size of the container would be 200 pixels.


\begin{DoxyParams}{Parameter}
{\em container} & container being served by this layout manager\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Rückgabe}
a dimension indicating the container's preferred size 
\end{DoxyReturn}


Definiert in Zeile 1455 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_ad871c153f11cc4934bf7d2a590ab8384}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!remove\-Layout\-Component@{remove\-Layout\-Component}}
\index{remove\-Layout\-Component@{remove\-Layout\-Component}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{remove\-Layout\-Component}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-remove\-Layout\-Component} (
\begin{DoxyParamCaption}
\item[{Component}]{component}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_ad871c153f11cc4934bf7d2a590ab8384}
Removes the specified component from the layout.


\begin{DoxyParams}{Parameter}
{\em component} & component being removed \\
\hline
\end{DoxyParams}


Definiert in Zeile 2008 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_abc3535b573a52013fde7aad67d2fbc8a}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!set\-Column@{set\-Column}}
\index{set\-Column@{set\-Column}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{set\-Column}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-set\-Column} (
\begin{DoxyParamCaption}
\item[{double}]{column\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_abc3535b573a52013fde7aad67d2fbc8a}
Adjusts the number and sizes of rows in this layout. After calling this method, the caller should request this layout manager to perform the layout. This can be done with the following code\-:


\begin{DoxyPre}
     layout.layoutContainer(container);
     container.repaint();
 \end{DoxyPre}


or


\begin{DoxyPre}
     window.pack()
 \end{DoxyPre}


If this is not done, the changes in the layout will not be seen until the container is resized.


\begin{DoxyParams}{Parameter}
{\em column} & heights of each of the columns\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_a4b2ba2a2e7964b0f354cfca1d5dc1284}{get\-Column} 
\end{DoxySeeAlso}


Definiert in Zeile 315 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a2a6ac4e9cc3515b4bc0b50fa1733522e}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!set\-Column@{set\-Column}}
\index{set\-Column@{set\-Column}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{set\-Column}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-set\-Column} (
\begin{DoxyParamCaption}
\item[{int}]{i, }
\item[{double}]{size}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a2a6ac4e9cc3515b4bc0b50fa1733522e}
Adjusts the width of a single column in this layout. After calling this method, the caller should request this layout manager to perform the layout. This can be done with the following code\-:

{\ttfamily  layout.\-layout\-Container(container); container.\-repaint(); }

or


\begin{DoxyPre}
     window.pack()
 \end{DoxyPre}


If this is not done, the changes in the layout will not be seen until the container is resized.


\begin{DoxyParams}{Parameter}
{\em i} & zero-\/based index of column to set. If this parameter is not valid, an Array\-Out\-Of\-Bounds\-Exception will be thrown. \\
\hline
{\em size} & width of the column. This parameter cannot be null.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_a4b2ba2a2e7964b0f354cfca1d5dc1284}{get\-Column} 
\end{DoxySeeAlso}


Definiert in Zeile 409 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a12a0a6974d8de6331b601639fa0da16f}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!set\-Constraints@{set\-Constraints}}
\index{set\-Constraints@{set\-Constraints}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{set\-Constraints}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-set\-Constraints} (
\begin{DoxyParamCaption}
\item[{Component}]{component, }
\item[{{\bf Table\-Layout\-Constraints}}]{constraint}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a12a0a6974d8de6331b601639fa0da16f}
Sets the constraints of a given component.


\begin{DoxyParams}{Parameter}
{\em component} & desired component. This parameter cannot be null. \\
\hline
{\em constraint} & new set of constraints. This parameter cannot be null.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Rückgabe}
If the given component is found, the constraints associated with that component. If the given component is null or is not found, null is returned. 
\end{DoxyReturn}


Definiert in Zeile 267 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_afdc5900b62836532ec0aee52acceaf51}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!set\-Row@{set\-Row}}
\index{set\-Row@{set\-Row}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{set\-Row}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-set\-Row} (
\begin{DoxyParamCaption}
\item[{double}]{row\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_afdc5900b62836532ec0aee52acceaf51}
Adjusts the number and sizes of rows in this layout. After calling this method, the caller should request this layout manager to perform the layout. This can be done with the following code\-:

{\ttfamily  layout.\-layout\-Container(container); container.\-repaint(); }

or


\begin{DoxyPre}
     window.pack()
 \end{DoxyPre}


If this is not done, the changes in the layout will not be seen until the container is resized.


\begin{DoxyParams}{Parameter}
{\em row} & widths of each of the rows. This parameter cannot be null.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_a4666813ae4bfef98baed7f0737bcac20}{get\-Row} 
\end{DoxySeeAlso}


Definiert in Zeile 361 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a4a1855f40ab2e2655558b9f0c2bf9ffd}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!set\-Row@{set\-Row}}
\index{set\-Row@{set\-Row}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{set\-Row}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf layout.\-Table\-Layout.\-set\-Row} (
\begin{DoxyParamCaption}
\item[{int}]{i, }
\item[{double}]{size}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a4a1855f40ab2e2655558b9f0c2bf9ffd}
Adjusts the height of a single row in this layout. After calling this method, the caller should request this layout manager to perform the layout. This can be done with the following code\-:

{\ttfamily  layout.\-layout\-Container(container); container.\-repaint(); }

or


\begin{DoxyPre}
     window.pack()
 \end{DoxyPre}


If this is not done, the changes in the layout will not be seen until the container is resized.


\begin{DoxyParams}{Parameter}
{\em i} & zero-\/based index of row to set. If this parameter is not valid, an Array\-Out\-Of\-Bounds\-Exception will be thrown. \\
\hline
{\em size} & height of the row. This parameter cannot be null.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{Siehe auch}
\hyperlink{classlayout_1_1_table_layout_a4666813ae4bfef98baed7f0737bcac20}{get\-Row} 
\end{DoxySeeAlso}


Definiert in Zeile 455 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a0014e9b6afe8b9a04919776f8672faf7}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!to\-String@{to\-String}}
\index{to\-String@{to\-String}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{to\-String}]{\setlength{\rightskip}{0pt plus 5cm}String {\bf layout.\-Table\-Layout.\-to\-String} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classlayout_1_1_table_layout_a0014e9b6afe8b9a04919776f8672faf7}
Converts this \hyperlink{classlayout_1_1_table_layout}{Table\-Layout} to a string.

\begin{DoxyReturn}{Rückgabe}
a string representing the columns and row sizes in the form \char`\"{}\{\{col0, col1, col2, ..., col\-N\}, \{row0, row1, row2, ..., row\-M\}\}\char`\"{} 
\end{DoxyReturn}


Definiert in Zeile 825 der Datei Table\-Layout.\-java.



\subsection{Dokumentation der Datenelemente}
\hypertarget{classlayout_1_1_table_layout_a717b339b6682c45f95a166f359c6a81d}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!column\-Offset@{column\-Offset}}
\index{column\-Offset@{column\-Offset}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{column\-Offset}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf layout.\-Table\-Layout.\-column\-Offset}\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_a717b339b6682c45f95a166f359c6a81d}
Offsets of columns in pixels. The left boarder of column n is at column\-Offset\mbox{[}n\mbox{]} and the right boarder is at column\-Offset\mbox{[}n + 1\mbox{]} for all columns including the last one. column\-Offset.\-length = column\-Size.\-length + 1 

Definiert in Zeile 116 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_ab246f0f73cd8fd53ae38f5a6f3e5f81a}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!column\-Size@{column\-Size}}
\index{column\-Size@{column\-Size}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{column\-Size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf layout.\-Table\-Layout.\-column\-Size}\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_ab246f0f73cd8fd53ae38f5a6f3e5f81a}
Widths of columns in pixels 

Definiert in Zeile 108 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_af400ca6da4c4f6bf9be482ea1bac076e}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!column\-Spec@{column\-Spec}}
\index{column\-Spec@{column\-Spec}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{column\-Spec}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf layout.\-Table\-Layout.\-column\-Spec}\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_af400ca6da4c4f6bf9be482ea1bac076e}
Widths of columns expressed in absolute and relative terms 

Definiert in Zeile 102 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a3cad1c9c046e3940431bee5dd1db5924}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!default\-Size@{default\-Size}}
\index{default\-Size@{default\-Size}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{default\-Size}]{\setlength{\rightskip}{0pt plus 5cm}final double {\bf layout.\-Table\-Layout.\-default\-Size}\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]} = \{\{\}, \{\}\}\hspace{0.3cm}{\ttfamily  \mbox{[}static, protected\mbox{]}}}}\label{classlayout_1_1_table_layout_a3cad1c9c046e3940431bee5dd1db5924}
Default row/column size 

Definiert in Zeile 97 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_af3eb53542c25da1da8301097562b388f}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!dirty@{dirty}}
\index{dirty@{dirty}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{dirty}]{\setlength{\rightskip}{0pt plus 5cm}boolean {\bf layout.\-Table\-Layout.\-dirty}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_af3eb53542c25da1da8301097562b388f}
Indicates whether or not the size of the cells are known for the last known size of the container. If dirty is true or the container has been resized, the cell sizes must be recalculated using calculate\-Size. 

Definiert in Zeile 129 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_ad287e19733ad42d0e1efa7d819afc76e}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!list@{list}}
\index{list@{list}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{list}]{\setlength{\rightskip}{0pt plus 5cm}Linked\-List {\bf layout.\-Table\-Layout.\-list}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_ad287e19733ad42d0e1efa7d819afc76e}
List of components and their sizes 

Definiert in Zeile 124 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a5817f9c642e260497a16fc8b2a58f2e6}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!old\-Height@{old\-Height}}
\index{old\-Height@{old\-Height}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{old\-Height}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf layout.\-Table\-Layout.\-old\-Height}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_a5817f9c642e260497a16fc8b2a58f2e6}
Previous known height of the container 

Definiert in Zeile 135 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a0592f89eeb46317a78b3624bcf37b668}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!old\-Width@{old\-Width}}
\index{old\-Width@{old\-Width}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{old\-Width}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf layout.\-Table\-Layout.\-old\-Width}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_a0592f89eeb46317a78b3624bcf37b668}
Previous known width of the container 

Definiert in Zeile 132 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_acba51b491e42b798faa477d65334ccd9}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!row\-Offset@{row\-Offset}}
\index{row\-Offset@{row\-Offset}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{row\-Offset}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf layout.\-Table\-Layout.\-row\-Offset}\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_acba51b491e42b798faa477d65334ccd9}
Offsets of rows in pixels. The left boarder of row n is at row\-Offset\mbox{[}n\mbox{]} and the right boarder is at row\-Offset\mbox{[}n + 1\mbox{]} for all rows including the last one. row\-Offset.\-length = row\-Size.\-length + 1 

Definiert in Zeile 121 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a8199e89a6a366ad5e5bdb2471da6dfc7}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!row\-Size@{row\-Size}}
\index{row\-Size@{row\-Size}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{row\-Size}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf layout.\-Table\-Layout.\-row\-Size}\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_a8199e89a6a366ad5e5bdb2471da6dfc7}
Heights of rows in pixels 

Definiert in Zeile 111 der Datei Table\-Layout.\-java.

\hypertarget{classlayout_1_1_table_layout_a8f51d5418fc72241dac1606703daf8e6}{\index{layout\-::\-Table\-Layout@{layout\-::\-Table\-Layout}!row\-Spec@{row\-Spec}}
\index{row\-Spec@{row\-Spec}!layout::TableLayout@{layout\-::\-Table\-Layout}}
\subsubsection[{row\-Spec}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf layout.\-Table\-Layout.\-row\-Spec}\mbox{[}$\,$\mbox{]}\hspace{0.3cm}{\ttfamily  \mbox{[}protected\mbox{]}}}}\label{classlayout_1_1_table_layout_a8f51d5418fc72241dac1606703daf8e6}
Heights of rows expressed in absolute and relative terms 

Definiert in Zeile 105 der Datei Table\-Layout.\-java.



Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei\-:\begin{DoxyCompactItemize}
\item 
/\-Users/alrik/\-Documents/workspace/\-Lift\-Simu/src/layout/\hyperlink{_table_layout_8java}{Table\-Layout.\-java}\end{DoxyCompactItemize}
